projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44248b7
)
(read_process_output): Allocate for coding system, if
author
Karl Heuer
<kwzh@gnu.org>
Mon, 8 Dec 1997 01:35:12 +0000
(
01:35
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Mon, 8 Dec 1997 01:35:12 +0000
(
01:35
+0000)
not already done.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index d33d81f38cf6f89cd1a3fea94d501450f08e49ec..d05071824de26f73dcb73d1b3d7aa16dfd793c1f 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-2812,6
+2812,10
@@
read_process_output (proc, channel)
if (NILP (p->encode_coding_system))
{
p->encode_coding_system = coding->symbol;
+ if (!proc_encode_coding_system[p->outfd])
+ proc_encode_coding_system[p->outfd]
+ = ((struct coding_system *)
+ xmalloc (sizeof (struct coding_system)));
setup_coding_system (coding->symbol,
proc_encode_coding_system[p->outfd]);
}